/**
 * 2018年12月11日上午11:41:05
 * @author 谢进财
 */
package com.baihang.framework.entity.kit;

import java.io.Serializable;

/**
 * 封装httpClient响应结果
 *
 */
public class HttpClientResult implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
     * 响应状态码
     */
    private int code;

    public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	/**
	 * 响应数据
	 */
	private String content;
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	public HttpClientResult() {
	}

	public HttpClientResult(int code) {
		this.code = code;
	}

	public HttpClientResult(String content) {
		this.content = content;
	}

	public HttpClientResult(int code, String content) {
		this.code = code;
		this.content = content;
	}
}
